package com.smsclient.constant;

import org.springframework.data.domain.Sort;

import java.util.Date;

public class GlobalConstant {

    //手机号码前缀prefix 和 运营商关系缓存key
    public static final String ISP_DICT_KEY = "ispDictKey";
    //上行返回 的 stas 状态值 - 正常
    public static final String STAS_DELIVRD = "DELIVRD";
    //短信 状态值 - 初始化
    public static final String STAS_INIT = "INIT";

    public static final String CREATE_DATE = "createDate";

    public static final String UPDATE_DATE = "updateDate";

    public static final Date NOW_DATE = new Date();

    public static final Sort CREATE_DATE_ESC_SORT = new Sort(Sort.Direction.DESC, CREATE_DATE);

    public static final Sort UPDATE_DATE_ESC_SORT = new Sort(Sort.Direction.DESC, UPDATE_DATE);
}
